<?php
namespace Operation\Model;

class Salesbis
{
    public $idSaleRow;
    public $idsaleHead;
    public $idArticle;
    public $quantity;
    public $totalPriceHT;
    public $inMenu;
    public $FamilyName;
    public $ArticleName;
    public $idStore;
    public $orderDate;
    public $type;
    public $isMenu;
    public $idFamily;
    public $idSurFamily;
    public $MenuCode;
    
    public function exchangeArray($data)
    {
        $this->idSaleRow = (isset($data['idSaleRow'])) ? $data['idSaleRow'] : null;
        $this->idsaleHead = (isset($data['idsaleHead'])) ? $data['idsaleHead'] : null;
        $this->idArticle = (isset($data['idArticle'])) ? $data['idArticle'] : null;
        $this->quantity = (isset($data['quantity'])) ? $data['quantity'] : null;
        $this->totalPriceHT = (isset($data['totalPriceHT'])) ? $data['totalPriceHT'] : null;
        $this->inMenu = (isset($data['inMenu'])) ? $data['inMenu'] : null;
        $this->FamilyName = (isset($data['FamilyName'])) ? $data['FamilyName'] : null;
        $this->ArticleName = (isset($data['ArticleName'])) ? $data['ArticleName'] : null;
        $this->idStore = (isset($data['idStore'])) ? $data['idStore'] : null;
        $this->orderDate = (isset($data['orderDate'])) ? $data['orderDate'] : null;
        $this->type = (isset($data['type'])) ? $data['type'] : null;
        $this->isMenu = (isset($data['isMenu'])) ? $data['isMenu'] : null;
        $this->idFamily = (isset($data['idFamily'])) ? $data['idFamily'] : null;
        $this->idSurFamily = (isset($data['idSurFamily'])) ? $data['idSurFamily'] : null;
        $this->MenuCode = (isset($data['MenuCode'])) ? $data['MenuCode'] : null;
    }
}